<!doctype html>



  


<html class="theme-next pisces use-motion" lang="zh-Hans">
<head>
  <meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>









<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />















  
  
  <link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />




  
  
  
  

  
    
    
  

  

  

  

  

  
    
    
    <link href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic&subset=latin,latin-ext" rel="stylesheet" type="text/css">
  






<link href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css" />

<link href="/css/main.css?v=5.1.1" rel="stylesheet" type="text/css" />


  <meta name="keywords" content="List," />








  <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico?v=5.1.1" />






<meta name="description" content="History2016 VBird Linux Basic 4thES6 In DepthPHP">
<meta name="keywords" content="List">
<meta property="og:type" content="article">
<meta property="og:title" content="阅读列表">
<meta property="og:url" content="https://gitee.com/icmyfuture/icmyfuture/2017/06/16/book-list/index.html">
<meta property="og:site_name" content="icmyfuture">
<meta property="og:description" content="History2016 VBird Linux Basic 4thES6 In DepthPHP">
<meta property="og:locale" content="zh-Hans">
<meta property="og:updated_time" content="2025-06-30T13:38:56.392Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="阅读列表">
<meta name="twitter:description" content="History2016 VBird Linux Basic 4thES6 In DepthPHP">



<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/',
    scheme: 'Pisces',
    sidebar: {"position":"left","display":"post","offset":12,"offset_float":0,"b2t":false,"scrollpercent":false},
    fancybox: true,
    motion: true,
    duoshuo: {
      userId: '0',
      author: '博主'
    },
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>



  <link rel="canonical" href="https://gitee.com/icmyfuture/icmyfuture/2017/06/16/book-list/"/>





  <title>阅读列表 | icmyfuture</title>
  














</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">

  
  
    
  

  <div class="container sidebar-position-left page-post-detail ">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta ">
    

    <div class="custom-logo-site-title">
      <a href="/"  class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">icmyfuture</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
      
        <p class="site-subtitle">Nothing is true, everthing is permitted</p>
      
  </div>

  <div class="site-nav-toggle">
    <button>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br />
            
            首页
          </a>
        </li>
      
        
        <li class="menu-item menu-item-categories">
          <a href="/categories" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-th"></i> <br />
            
            分类
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/archives" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
            
            归档
          </a>
        </li>
      
        
        <li class="menu-item menu-item-tags">
          <a href="/tags" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-tags"></i> <br />
            
            标签
          </a>
        </li>
      
        
        <li class="menu-item menu-item-about">
          <a href="/about" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-user"></i> <br />
            
            关于
          </a>
        </li>
      

      
        <li class="menu-item menu-item-search">
          
            <a href="javascript:;" class="popup-trigger">
          
            
              <i class="menu-item-icon fa fa-search fa-fw"></i> <br />
            
            搜索
          </a>
        </li>
      
    </ul>
  

  
    <div class="site-search">
      
  <div class="popup">
 <span class="search-icon fa fa-search"></span>
 <input type="text" id="local-search-input" placeholder="search my blog...">
 <div id="local-search-result"></div>
 <span class="popup-btn-close">close</span>
</div>



    </div>
  
</nav>



 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  <article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">
    <link itemprop="mainEntityOfPage" href="https://gitee.com/icmyfuture/icmyfuture/2017/06/16/book-list/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="iDu">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/uploads/avatar.jpg">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="icmyfuture">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">阅读列表</h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2017-06-16T15:13:25+08:00">
                2017-06-16
              </time>
            

            

            
          </span>

          
            <span class="post-category" >
            
              <span class="post-meta-divider">|</span>
            
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">分类于</span>
              
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/Book/" itemprop="url" rel="index">
                    <span itemprop="name">Book</span>
                  </a>
                </span>

                
                
              
            </span>
          

          
            
          

          
          

          

          

          

        </div>
      </header>
    

    <div class="post-body" itemprop="articleBody">

      
      

      
        <h1 id="History"><a href="#History" class="headerlink" title="History"></a><em>History</em></h1><h2 id="2016"><a href="#2016" class="headerlink" title="2016"></a>2016</h2><blockquote>
<p>VBird Linux Basic 4th<br>ES6 In Depth<br><a href="https://www.w3cschool.cn/php/" target="_blank" rel="noopener">PHP</a><a id="more"></a></p>
</blockquote>
<h2 id="2017"><a href="#2017" class="headerlink" title="2017"></a>2017</h2><blockquote>
<p><a href="http://www.liaoxuefeng.com" target="_blank" rel="noopener">Python 3</a><br>富爸爸穷爸爸<br>Linux Bibel 9th<br>彼得·林奇的成功投资<br>富爸爸财务自由之路<br>程序员修炼之道：从小工到专家<br>百家讲坛_说话的艺术<br>C和指针<br>企业应用架构模式<br>UML精粹<br>Object Oriented Software Construction 2nd(Till C)<br>思考，快与慢<br>一本书读懂说话的艺术<br>Linux_UNIX系统编程手册(上/下) 4C<br>国富论/图解国富论<br>文明史纲<br>暗时间<br>乌合之众<br>梦的解析/第一本心理学漫画书-梦的解析<br>UNIX环境高级编程 2nd<br>UNIX编程艺术<br>程序设计实践<br>微服务_从设计到部署</p>
</blockquote>
<h2 id="2018"><a href="#2018" class="headerlink" title="2018"></a>2018</h2><blockquote>
<p>架构之美<br>程序员的思维修炼<br>高效程序员的45个习惯<br>程序员的数学<br>影响力<br>Agile Java<br>Thinking in Java 2nd<br>比特币与区块链<br>代码大全(第二版)<br>深入理解Java虚拟机2nd<br>byte-of-python<br>深入理解计算机系统第三版<br>Java 8 in action<br>软技能：代码之外的生存指南<br>大型网站技术架构：核心原理与案例分析<br>人性的弱点<br>IT Manager’s cookbook<br>Company_Mgt<br>SICPinpy<br>The Design Of Everyday Things<br>SpringCloud in Action<br>Java Concurrency in Practice<br>实战Java高并发程序设计<br>怎样解题<br>Java Network Programming 4th<br>Netty in Action<br>Data Structures and Algorithm Analysis in Java Third Edition<br>JGuide</p>
</blockquote>
<h2 id="2019"><a href="#2019" class="headerlink" title="2019"></a>2019</h2><blockquote>
<p>人类简史<br>大秦帝国<br>菜根谭<br>未来简史<br>漫话中国思想<br>Algorithm 4th<br>今日简史<br>xL_CraftOfSelfTeaching<br>xL_TimeAsAFriend<br>xL_Reborn<br>xL_WealthTheRoadToFreedom<br>Python for Data Analysis 2nd<br>围城<br>动物庄园<br>kH_P&amp;S<br>超越感觉<br>大规模分布式存储系统<br>码出高效：Java开发手册<br>Java开发手册<br>fy<br>JWeb<br>Deep Into JWeb<br>Concrete Mathematics 2nd(Overview)<br>aDiscipline<br>性能之巅<br>分布式服务框架原理与实践<br>分布式服务架构原理、设计与实战<br>平凡的世界<br>人生<br>在困难的日子里</p>
</blockquote>
<h2 id="2020"><a href="#2020" class="headerlink" title="2020"></a>2020</h2><blockquote>
<p>非暴力沟通<br>白夜行<br>恶意<br>嫌疑犯X的献身<br>Redis设计与实现2nd<br>人生的智慧<br>GoDoc<br>GoPL<br>原则<br>Advanced Go Programming<br>Concurrency in Go<br>PyT<br>解忧杂货店<br>GoInAction<br>穷查理宝典<br>黑客与画家<br>活着<br>左耳听风<br>Arc4th<br>文明的冲突与世界秩序的重建<br>重来<br>追风筝的人<br>月亮与六便士<br>清醒思考的艺术<br>简单逻辑学<br>H_JL/AB<br>重构<br>人性的枷锁<br>千面英雄<br>寻欢作乐<br>刀锋<br>面纱<br>基因之河<br>历史的教训<br>物种起源<br>沉思录<br>人类的起源<br>性的进化<br>八百万种死法<br>Arc_32<br>消失的13级台阶<br>自私的基因<br>数据密集型应用系统设计<br>枪炮、病菌与钢铁</p>
</blockquote>
<h2 id="2021"><a href="#2021" class="headerlink" title="2021"></a>2021</h2><blockquote>
<p>On Java 8<br>Algorithm Diagram<br>CrackingCI6th<br>哲学的故事<br>软件架构<br>宇宙的最后三分钟<br>边城<br>Effective Java 3rd<br>代码的未来<br>Go_Micro_In_Action<br>东野圭吾作品集(六部)<br>Go进阶<br>Kubernetes in Action<br>Life 3.0<br>巨人的陨落<br>Arc0<br>一只特立独行的猪<br>QR<br>Quarkus In Action<br>GoCore<br>随机漫步的傻瓜<br>微服务架构设计模式<br>羊皮卷<br>异类<br>Mastering Go<br>谈美书简<br>Go核心<br>Go并发之道<br>了不起的盖茨比<br>Go基础库<br>Go笔记<br>Go深入解析<br>写给大家看的设计书<br>红与黑<br>都嘟 I/II<br>罪与罚<br>生命之书</p>
</blockquote>
<h2 id="2022"><a href="#2022" class="headerlink" title="2022"></a>2022</h2><blockquote>
<p>GoDS<br>钢铁<br>老人与海<br>凤凰架构<br>gCore<br>FunMath4Programmer<br>全球通史<br>goHighPerf<br>Go101<br>OnJ8<br>pdai_Spring<br>SpringBoot_in_Action<br>横向领导力<br>wxb_01_沉默的大多数<br>wxb_02_我的精神家园<br>wxb_03_万寿寺<br>wxb_04_红拂夜奔<br>wxb_05_寻找无双/东宫西宫<br>wxb_06_黄金时代<br>wxb_07_白银时代<br>wxb_08_似水柔情<br>wxb_09_爱你就像爱生命<br>wxb_10_黑铁时代<br>SpringCore<br>Spring4<br>EJ3<br>音乐史<br>刻意练习<br>TaoOfStudy<br>CodeJ<br>ArcPhoenix<br>三体<br>企业应用架构模式<br>LaoZ<br>沟通的力量<br>txt_FR</p>
</blockquote>
<h2 id="2023"><a href="#2023" class="headerlink" title="2023"></a>2023</h2><blockquote>
<p>纳瓦尔<br>西方美学<br>白鹿原<br>凤凰项目<br>编程珠玑<br>沧浪之水<br>长安的荔枝<br>正面管教<br>韩信<br>Java并发78<br>懂<br>Java业务100<br>生活蒙太奇<br>xL_PublicSpeaking<br>Jvm核心32<br>Java性能21<br>我叫刘跃进<br>Java性能44<br>皮德漫画<br>一句顶一万句<br>奇怪的生物图鉴<br>是我把你弄哭了吗<br>中年之路:人格的第二次成型<br>Java核面39<br>漫画KP:冷知识<br>花小烙漫画:KP<br>父与子<br>无名之城<br>分布式45<br>人间一趟,尽兴而已<br>不白吃漫画：世界美食<br>不白吃漫画：中华美食<br>不白吃漫画：食物简史<br>我会永远抱紧你<br>置身事内：中国政府与经济发展<br>高并发22<br>柳林风声<br>蛤蟆先生去看心理医生<br>编程珠玑：续<br>先知<br>世界喧嚣我很好<br>猫咪会吃掉<strong>**</strong><br>人生玩家<br>Java性能权威指南（第二版）<br>子恺漫画全集<br>明天又要上班了<br>小王子<br>谁能拒绝一只快乐小狗呢<br>狗狗心事绘本<br>书单狗：聪明与笨蛋<br>在路上<br>白希那治愈X想象力·经典绘本系列<br>txt_幽MX途<br>厚HX<br>时间是良药<br>智慧的疆界<br>围炉夜话<br>小窗幽记</p>
</blockquote>
<h2 id="2024"><a href="#2024" class="headerlink" title="2024"></a>2024</h2><blockquote>
<p>Programmer_Math_Base<br>认知觉醒<br>久远DoT<br>被讨厌的勇气<br>Arc_许式伟<br>人间值得<br>活得通透<br>时间从来不语<br>半小时漫画(16)<br>金PM<br>C_Pointer<br>故乡、死亡<br>HY_X秦J<br>OnJ_Base<br>OnJ_Pro<br>家人闲坐灯火可亲<br>逍遥游<br>杀死一只知更鸟<br>哲学家们到底在干什么<br>罗素论幸福<br>人生第一次<br>杨绛传<br>乔布斯传<br>差一点就FC了<br>羊脂球<br>HTR_A_Book<br>BC的人_但这并不容易<br>看你一眼就会笑<br>太白金星有点烦<br>草原动物园<br>度量<br>漫长岁月，没有一天是适合上班的<br>胖虎下山<br>发现的乐趣<br>你好，我是费曼<br>WMS_JDA_Overview<br>架构整洁之道<br>筚路维艰<br>无用之美<br>孙子<br>白石老人自述<br>乡土中国<br>数学之美</p>
</blockquote>
<h2 id="2025"><a href="#2025" class="headerlink" title="2025"></a>2025</h2><blockquote>
<p>我这一辈子<br>路上的我们<br>你好旧时光<br>夜深人静是自由<br>浪潮之巅<br>智能时代<br>控糖<br>代码整洁之道<br>程序员的职业素养<br>毛泽东读二十四史<br>活好<br>敏捷整洁之道<br>你当像鸟飞往你的山<br>老舍:有<strong>的地方<br>代码之外的</strong><br>鲁迅全集1-坟/热风/呐喊<br>X逆<br>经纬华夏<br>往里走安顿自己</p>
</blockquote>
<h1 id="Mistery"><a href="#Mistery" class="headerlink" title="Mistery"></a><em>Mistery</em></h1><h2 id="Philosophy-amp-Math"><a href="#Philosophy-amp-Math" class="headerlink" title="Philosophy &amp; Math"></a>Philosophy &amp; Math</h2><h2 id="Computer-Science"><a href="#Computer-Science" class="headerlink" title="Computer Science"></a>Computer Science</h2><blockquote>
<p>代码之美/算法导论3rd</p>
</blockquote>
<h2 id="Literature-amp-Art"><a href="#Literature-amp-Art" class="headerlink" title="Literature &amp; Art"></a>Literature &amp; Art</h2><h2 id="Natural-amp-Social-Science"><a href="#Natural-amp-Social-Science" class="headerlink" title="Natural &amp; Social Science"></a>Natural &amp; Social Science</h2><h1 id="Present"><a href="#Present" class="headerlink" title="Present"></a><em>Present</em></h1>
      
    </div>

    <div>
      
        

      
    </div>

    <div>
      
        

      
    </div>

    <div>
      
        

      
    </div>

    <footer class="post-footer">
      
        <div class="post-tags">
          
            <a href="/tags/List/" rel="tag"># List</a>
          
        </div>
      

      
      
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="/2017/06/16/game-list/" rel="next" title="游戏列表">
                <i class="fa fa-chevron-left"></i> 游戏列表
              </a>
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/2017/06/16/tech-list/" rel="prev" title="技术列表">
                技术列表 <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </article>



    <div class="post-spread">
      
    </div>
  </div>


          </div>
          


          
  <div class="comments" id="comments">
    
  </div>


        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap" >
            文章目录
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview">
            站点概览
          </li>
        </ul>
      

      <section class="site-overview sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
          <img class="site-author-image" itemprop="image"
               src="/uploads/avatar.jpg"
               alt="iDu" />
          <p class="site-author-name" itemprop="name">iDu</p>
           
              <p class="site-description motion-element" itemprop="description">诗酒风流品花月</p>
          
        </div>
        <nav class="site-state motion-element">

          
            <div class="site-state-item site-state-posts">
              <a href="/archives">
                <span class="site-state-item-count">23</span>
                <span class="site-state-item-name">日志</span>
              </a>
            </div>
          

          
            
            
            <div class="site-state-item site-state-categories">
              <a href="/categories/index.html">
                <span class="site-state-item-count">3</span>
                <span class="site-state-item-name">分类</span>
              </a>
            </div>
          

          
            
            
            <div class="site-state-item site-state-tags">
              <a href="/tags/index.html">
                <span class="site-state-item-count">7</span>
                <span class="site-state-item-name">标签</span>
              </a>
            </div>
          

        </nav>

        

        <div class="links-of-author motion-element">
          
            
              <span class="links-of-author-item">
                <a href="https://github.com/icmyfuture" target="_blank" title="GitHub">
                  
                    <i class="fa fa-fw fa-github"></i>
                  
                  GitHub
                </a>
              </span>
            
              <span class="links-of-author-item">
                <a href="https://weibo.com/u/1865769731" target="_blank" title="Weibo">
                  
                    <i class="fa fa-fw fa-weibo"></i>
                  
                  Weibo
                </a>
              </span>
            
          
        </div>

        
        

        
        

        


      </section>

      
      <!--noindex-->
        <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">

            
              
            

            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#History"><span class="nav-number">1.</span> <span class="nav-text">History</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#2016"><span class="nav-number">1.1.</span> <span class="nav-text">2016</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#2017"><span class="nav-number">1.2.</span> <span class="nav-text">2017</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#2018"><span class="nav-number">1.3.</span> <span class="nav-text">2018</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#2019"><span class="nav-number">1.4.</span> <span class="nav-text">2019</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#2020"><span class="nav-number">1.5.</span> <span class="nav-text">2020</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#2021"><span class="nav-number">1.6.</span> <span class="nav-text">2021</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#2022"><span class="nav-number">1.7.</span> <span class="nav-text">2022</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#2023"><span class="nav-number">1.8.</span> <span class="nav-text">2023</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#2024"><span class="nav-number">1.9.</span> <span class="nav-text">2024</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#2025"><span class="nav-number">1.10.</span> <span class="nav-text">2025</span></a></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#Mistery"><span class="nav-number">2.</span> <span class="nav-text">Mistery</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#Philosophy-amp-Math"><span class="nav-number">2.1.</span> <span class="nav-text">Philosophy &amp; Math</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#Computer-Science"><span class="nav-number">2.2.</span> <span class="nav-text">Computer Science</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#Literature-amp-Art"><span class="nav-number">2.3.</span> <span class="nav-text">Literature &amp; Art</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#Natural-amp-Social-Science"><span class="nav-number">2.4.</span> <span class="nav-text">Natural &amp; Social Science</span></a></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#Present"><span class="nav-number">3.</span> <span class="nav-text">Present</span></a></li></ol></div>
            

          </div>
        </section>
      <!--/noindex-->
      

      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright" >
  
  &copy; 
  <span itemprop="copyrightYear">2025</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">iDu</span>
</div>


<div class="powered-by">
  由 <a class="theme-link" href="https://hexo.io">Hexo</a> 强力驱动
</div>

<div class="theme-info">
  主题 -
  <a class="theme-link" href="https://github.com/iissnan/hexo-theme-next">
    NexT.Pisces
  </a>
</div>


        

        
      </div>
    </footer>

    
      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>
        
      </div>
    

  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  












  
  <script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>

  
  <script type="text/javascript" src="/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>

  
  <script type="text/javascript" src="/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>

  
  <script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>

  
  <script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>

  
  <script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>


  


  <script type="text/javascript" src="/js/src/utils.js?v=5.1.1"></script>

  <script type="text/javascript" src="/js/src/motion.js?v=5.1.1"></script>



  
  


  <script type="text/javascript" src="/js/src/affix.js?v=5.1.1"></script>

  <script type="text/javascript" src="/js/src/schemes/pisces.js?v=5.1.1"></script>



  
  <script type="text/javascript" src="/js/src/scrollspy.js?v=5.1.1"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=5.1.1"></script>



  


  <script type="text/javascript" src="/js/src/bootstrap.js?v=5.1.1"></script>



  


  




	





  





  





  






  

  <script type="text/javascript">
    // Popup Window;
    var isfetched = false;
    var isXml = true;
    // Search DB path;
    var search_path = "search.xml";
    if (search_path.length === 0) {
      search_path = "search.xml";
    } else if (/json$/i.test(search_path)) {
      isXml = false;
    }
    var path = "/" + search_path;
    // monitor main search box;

    var onPopupClose = function (e) {
      $('.popup').hide();
      $('#local-search-input').val('');
      $('.search-result-list').remove();
      $('#no-result').remove();
      $(".local-search-pop-overlay").remove();
      $('body').css('overflow', '');
    }

    function proceedsearch() {
      $("body")
        .append('<div class="search-popup-overlay local-search-pop-overlay"></div>')
        .css('overflow', 'hidden');
      $('.search-popup-overlay').click(onPopupClose);
      $('.popup').toggle();
      var $localSearchInput = $('#local-search-input');
      $localSearchInput.attr("autocapitalize", "none");
      $localSearchInput.attr("autocorrect", "off");
      $localSearchInput.focus();
    }

    // search function;
    var searchFunc = function(path, search_id, content_id) {
      'use strict';

      // start loading animation
      $("body")
        .append('<div class="search-popup-overlay local-search-pop-overlay">' +
          '<div id="search-loading-icon">' +
          '<i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i>' +
          '</div>' +
          '</div>')
        .css('overflow', 'hidden');
      $("#search-loading-icon").css('margin', '20% auto 0 auto').css('text-align', 'center');

      $.ajax({
        url: path,
        dataType: isXml ? "xml" : "json",
        async: true,
        success: function(res) {
          // get the contents from search data
          isfetched = true;
          $('.popup').detach().appendTo('.header-inner');
          var datas = isXml ? $("entry", res).map(function() {
            return {
              title: $("title", this).text(),
              content: $("content",this).text(),
              url: $("url" , this).text()
            };
          }).get() : res;
          var input = document.getElementById(search_id);
          var resultContent = document.getElementById(content_id);
          var inputEventFunction = function() {
            var searchText = input.value.trim().toLowerCase();
            var keywords = searchText.split(/[\s\-]+/);
            if (keywords.length > 1) {
              keywords.push(searchText);
            }
            var resultItems = [];
            if (searchText.length > 0) {
              // perform local searching
              datas.forEach(function(data) {
                var isMatch = false;
                var hitCount = 0;
                var searchTextCount = 0;
                var title = data.title.trim();
                var titleInLowerCase = title.toLowerCase();
                var content = data.content.trim().replace(/<[^>]+>/g,"");
                var contentInLowerCase = content.toLowerCase();
                var articleUrl = decodeURIComponent(data.url);
                var indexOfTitle = [];
                var indexOfContent = [];
                // only match articles with not empty titles
                if(title != '') {
                  keywords.forEach(function(keyword) {
                    function getIndexByWord(word, text, caseSensitive) {
                      var wordLen = word.length;
                      if (wordLen === 0) {
                        return [];
                      }
                      var startPosition = 0, position = [], index = [];
                      if (!caseSensitive) {
                        text = text.toLowerCase();
                        word = word.toLowerCase();
                      }
                      while ((position = text.indexOf(word, startPosition)) > -1) {
                        index.push({position: position, word: word});
                        startPosition = position + wordLen;
                      }
                      return index;
                    }

                    indexOfTitle = indexOfTitle.concat(getIndexByWord(keyword, titleInLowerCase, false));
                    indexOfContent = indexOfContent.concat(getIndexByWord(keyword, contentInLowerCase, false));
                  });
                  if (indexOfTitle.length > 0 || indexOfContent.length > 0) {
                    isMatch = true;
                    hitCount = indexOfTitle.length + indexOfContent.length;
                  }
                }

                // show search results

                if (isMatch) {
                  // sort index by position of keyword

                  [indexOfTitle, indexOfContent].forEach(function (index) {
                    index.sort(function (itemLeft, itemRight) {
                      if (itemRight.position !== itemLeft.position) {
                        return itemRight.position - itemLeft.position;
                      } else {
                        return itemLeft.word.length - itemRight.word.length;
                      }
                    });
                  });

                  // merge hits into slices

                  function mergeIntoSlice(text, start, end, index) {
                    var item = index[index.length - 1];
                    var position = item.position;
                    var word = item.word;
                    var hits = [];
                    var searchTextCountInSlice = 0;
                    while (position + word.length <= end && index.length != 0) {
                      if (word === searchText) {
                        searchTextCountInSlice++;
                      }
                      hits.push({position: position, length: word.length});
                      var wordEnd = position + word.length;

                      // move to next position of hit

                      index.pop();
                      while (index.length != 0) {
                        item = index[index.length - 1];
                        position = item.position;
                        word = item.word;
                        if (wordEnd > position) {
                          index.pop();
                        } else {
                          break;
                        }
                      }
                    }
                    searchTextCount += searchTextCountInSlice;
                    return {
                      hits: hits,
                      start: start,
                      end: end,
                      searchTextCount: searchTextCountInSlice
                    };
                  }

                  var slicesOfTitle = [];
                  if (indexOfTitle.length != 0) {
                    slicesOfTitle.push(mergeIntoSlice(title, 0, title.length, indexOfTitle));
                  }

                  var slicesOfContent = [];
                  while (indexOfContent.length != 0) {
                    var item = indexOfContent[indexOfContent.length - 1];
                    var position = item.position;
                    var word = item.word;
                    // cut out 100 characters
                    var start = position - 20;
                    var end = position + 80;
                    if(start < 0){
                      start = 0;
                    }
                    if (end < position + word.length) {
                      end = position + word.length;
                    }
                    if(end > content.length){
                      end = content.length;
                    }
                    slicesOfContent.push(mergeIntoSlice(content, start, end, indexOfContent));
                  }

                  // sort slices in content by search text's count and hits' count

                  slicesOfContent.sort(function (sliceLeft, sliceRight) {
                    if (sliceLeft.searchTextCount !== sliceRight.searchTextCount) {
                      return sliceRight.searchTextCount - sliceLeft.searchTextCount;
                    } else if (sliceLeft.hits.length !== sliceRight.hits.length) {
                      return sliceRight.hits.length - sliceLeft.hits.length;
                    } else {
                      return sliceLeft.start - sliceRight.start;
                    }
                  });

                  // select top N slices in content

                  var upperBound = parseInt('1');
                  if (upperBound >= 0) {
                    slicesOfContent = slicesOfContent.slice(0, upperBound);
                  }

                  // highlight title and content

                  function highlightKeyword(text, slice) {
                    var result = '';
                    var prevEnd = slice.start;
                    slice.hits.forEach(function (hit) {
                      result += text.substring(prevEnd, hit.position);
                      var end = hit.position + hit.length;
                      result += '<b class="search-keyword">' + text.substring(hit.position, end) + '</b>';
                      prevEnd = end;
                    });
                    result += text.substring(prevEnd, slice.end);
                    return result;
                  }

                  var resultItem = '';

                  if (slicesOfTitle.length != 0) {
                    resultItem += "<li><a href='" + articleUrl + "' class='search-result-title'>" + highlightKeyword(title, slicesOfTitle[0]) + "</a>";
                  } else {
                    resultItem += "<li><a href='" + articleUrl + "' class='search-result-title'>" + title + "</a>";
                  }

                  slicesOfContent.forEach(function (slice) {
                    resultItem += "<a href='" + articleUrl + "'>" +
                      "<p class=\"search-result\">" + highlightKeyword(content, slice) +
                      "...</p>" + "</a>";
                  });

                  resultItem += "</li>";
                  resultItems.push({
                    item: resultItem,
                    searchTextCount: searchTextCount,
                    hitCount: hitCount,
                    id: resultItems.length
                  });
                }
              })
            };
            if (keywords.length === 1 && keywords[0] === "") {
              resultContent.innerHTML = '<div id="no-result"><i class="fa fa-search fa-5x" /></div>'
            } else if (resultItems.length === 0) {
              resultContent.innerHTML = '<div id="no-result"><i class="fa fa-frown-o fa-5x" /></div>'
            } else {
              resultItems.sort(function (resultLeft, resultRight) {
                if (resultLeft.searchTextCount !== resultRight.searchTextCount) {
                  return resultRight.searchTextCount - resultLeft.searchTextCount;
                } else if (resultLeft.hitCount !== resultRight.hitCount) {
                  return resultRight.hitCount - resultLeft.hitCount;
                } else {
                  return resultRight.id - resultLeft.id;
                }
              });
              var searchResultList = '<ul class=\"search-result-list\">';
              resultItems.forEach(function (result) {
                searchResultList += result.item;
              })
              searchResultList += "</ul>";
              resultContent.innerHTML = searchResultList;
            }
          }

          if ('auto' === 'manual') {
            input.addEventListener('input', inputEventFunction);
          } else {
            $('.search-icon').click(inputEventFunction);
            input.addEventListener('keypress', function (event) {
              if (event.keyCode === 13) {
                inputEventFunction();
              }
            });
          }

          // remove loading animation
          $(".local-search-pop-overlay").remove();
          $('body').css('overflow', '');

          proceedsearch();
        }
      });
    }

    // handle and trigger popup window;
    $('.popup-trigger').click(function(e) {
      e.stopPropagation();
      if (isfetched === false) {
        searchFunc(path, 'local-search-input', 'local-search-result');
      } else {
        proceedsearch();
      };
    });

    $('.popup-btn-close').click(onPopupClose);
    $('.popup').click(function(e){
      e.stopPropagation();
    });
    $(document).on('keyup', function (event) {
      var shouldDismissSearchPopup = event.which === 27 &&
        $('.search-popup').is(':visible');
      if (shouldDismissSearchPopup) {
        onPopupClose();
      }
    });
  </script>





  

  

  

  

  

  

</body>
</html>
